If he intended to break the congregational prayer and pray alone, and then he or the imam had performed an act of prayer, then he has left the congregational prayer and must complete his prayer alone. Rather, the same is the case if neither of them performed any act, as an obligatory precaution.